const express = require('express');
const router = express.Router();

/* GET users listing. */
router.get('/', function (req, res, next) {
  res.send('respond with a resource');
});

router.get('/get', function (req, res) {
  res.send('获取用户数据')
})

router.post('/post', function (req, res) {
  res.send('新增用户数据')
})

router.put('/put', function (req, res) {
  res.send('修改用户数据')
})

router.delete('/delete', function (req, res) {
  res.send('删除用户数据')
})

module.exports = router;
